package ltd.hxya.novel.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import ltd.hxya.novel.common.bean.BaseEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author hty
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_notice")
@ApiModel(value="Notice对象", description="")
public class Notice extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "notice_id")
    private String noticeId;

    @ApiModelProperty(value = "操作状态：0：其他，1：新增，2：修改； 3：删除")
    private Integer noticeType;

    @ApiModelProperty(value = "消息通知内容")
    private String noticeMessage;

    @ApiModelProperty(value = "操作模块名")
    private String moduleName;

    @ApiModelProperty(value = "操作模块的关键字")
    private String moduleKey;

    @ApiModelProperty(value = "操作的资源的id")
    private String operationId;

    @ApiModelProperty(value = "0: 未读 1：已读")
    private Boolean status;


}
